/*
 *
 *
 *
 */

#include <pspgu.h>
#include <psptypes.h>
#include <pspdisplay.h>
#include <malloc.h>

#include <intraFont.h>
#define BUF_WIDTH (512)
#define SCR_WIDTH (480)
#define SCR_HEIGHT (272)
#define SCR_WIDTHF (480.0f)
#define vSpacing1 25
using namespace std;
class Display{
public:
	Display();
	void setupGu();
	void guStart();
	void guFinish();
	void setClockFontStyle(float size, unsigned int colour, unsigned int shadow, unsigned int options);
	void setInfoFontStyle(float size, unsigned int colour, unsigned int shadow, unsigned int options);
	float clockFontMeasureText(const char *text);
	float clockPrint(float x, float y, const char *text);
	float infoPrint(float x, float y, const char *text);
	enum colour {
		RED =	0xFF0000FF,
		GREEN =	0xFF00FF00,
		BLUE =	0xFFFF0000,
		WHITE =	0xFFFFFFFF,
		LITEGRAY = 0xFFBFBFBF,
		GRAY =  0xFF7F7F7F,
		DARKGRAY = 0xFF3F3F3F,		
		BLACK = 0xFF000000,
	};
private:
	unsigned int *list;
	intraFont *font, *info;
	bool drawing;
};

